import request from '@/utils/request'

export const getHomeData = (data)=>{
    return  request.get('/home/getHomeData',{params:data})
}

export const getHouse = (data)=>{
    return  request.get('/home/house',{params:data})
}

export const getSetting = (data)=>{
    return  request.get(`/home/setting?F_HouseId=${data.F_HouseId}`)
}

export const getMessage = (data)=>{
    return  request.get('/home/message',{params:data})
}
//低电量设备
export const geteartag = (data)=>{
    return  request.get('/home/getDevices/eartag',{params:data})
}
//离线设备
export const getnecklace = (data)=>{
    return  request.get('/home/getDevices/necklace',{params:data})
}
//监控设备
export const getvideo = (data)=>{
    return  request.get('/home/getDevices/video',{params:data})
}